package com.slz3.business.module.orderManagement.ordRefund.service;

import com.slz3.business.module.orderManagement.ordRefund.domain.OrdRefund;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;
import java.util.stream.Stream;

/**
 * 非事务型 service
 */
public interface OrdRefundService {

    OrdRefund save(OrdRefund ordRefund);

    Page<OrdRefund> page(MultiValueMap<String,String> queryParams);

    OrdRefund modify(OrdRefund ordRefund);

    Optional<OrdRefund> single(UUID uuid);

    List<OrdRefund> findAllByUuids(Iterable<UUID> uuids);

    List<OrdRefund> delete(List<OrdRefund> ordRefundList);
}
